﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FrmMatricularAlumnosMoodle.aspx.cs" Inherits="UI.Sistemas.FrmMatricularAlumnosMoodle" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


<asp:UpdatePanel ID="panel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="btnConfirmar" />
</Triggers>


    <ContentTemplate>

    <table class="BTabla" style="width: 59%">
        <tr>
            <td colspan="5">
                <h2>
                    generar csv migracion de notas</h2>
            </td>
        </tr>
        <tr>
            <td class="filaTabla" colspan="6">
                Datos Obligatorios</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Elige Semestre :" 
                    Width="129px"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="comboSemestre" runat="server" 
                    style="margin-left: 0px" Width="300px">
                    <asp:ListItem Value="00">--Todos--</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="right">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnGenerar" runat="server" Height="31px" Text="Generar" Width="87px" 
                    onclick="btnGenerar_Click" />
            </td>
            <td>
                <asp:Button ID="btnConsultar" runat="server" Height="34px" 
                    href="../Tesoreria/frmReporteActaPromocionalPdf2.aspx" target="_blank" Text="Consultar" 
                    Width="87px" onclick="btnConsultar_Click" 
                    PostBackUrl="http://www.ipnm.edu.pe/" />
            </td>
        </tr>
        <tr>
            <td>
                Especialidad</td>
            <td>
                <asp:DropDownList ID="comboEspecialidad" runat="server" 
                    style="margin-left: 0px" Width="300px" AutoPostBack="True" 
                    onselectedindexchanged="comboEspecialidad_SelectedIndexChanged">
                    <asp:ListItem Value="00">--Todos--</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="right">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Ciclo</td>
            <td>
                <asp:DropDownList ID="comboCiclo" runat="server" 
                    style="margin-left: 0px" Width="300px" AutoPostBack="True" 
                    onselectedindexchanged="comboCiclo_SelectedIndexChanged">
                    <asp:ListItem Value="00">--Todos--</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="right">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Alumno</td>
            <td>
                <asp:DropDownList ID="comboAlumno" runat="server" 
                    style="margin-left: 0px" Width="300px">
                    <asp:ListItem Value="00">--Todos--</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="right">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                
            </td>
        </tr>
    </table>




    <asp:Label ID="LabelError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>

    
    </ContentTemplate>
    </asp:UpdatePanel>



    <asp:UpdatePanel ID="PanelTransaccion" runat="server">
    <ContentTemplate>
    <table class="BTabla" style="width: 59%" border="1">
        <tr>
            <td colspan="2">
                <h2>
                    ESTADO DE TRANSACCION</h2>
            </td>
        </tr>
        <tr>
            <td class="filaTabla">
                GENERANDO ARCHIVO PLANO</td>
            <td class="filaTablaBlanco">
                <asp:Label ID="LabelPaso1" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="filaTabla">
                SUBIENDO A SERVIDOR </td>
            <td class="filaTablaBlanco">
                <asp:Label ID="LabelPaso2" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="filaTabla">
                VALIDANDO MIGRACION</td>
            <td class="filaTablaBlanco">
                <asp:Label ID="LabelPaso3" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Localize ID="Localize2" runat="server"></asp:Localize>
                <asp:Button ID="btnConfirmar" runat="server" Height="31px" Text="Confirmar" Width="87px" 
                    onclick="btnConfirmar_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Localize ID="Localize1" runat="server"></asp:Localize>
            </td>
        </tr>
    </table>

       </ContentTemplate>
    </asp:UpdatePanel>

<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="panel1" DisplayAfter="0">
    <ProgressTemplate>
        <div style="background-color: Gray; filter:alpha(opacity=60); opacity:0.60; width: 100%; top: 0px; left: 0px; position: fixed; height: 100%;">
        </div>
          <div style="margin:auto;
              font-family:Trebuchet MS;
              filter: alpha(opacity=100);
              opacity: 1;
              font-size:small;
              vertical-align: middle;
              top: 45%;
              position: fixed;
              right: 45%;
              color: #275721;
              text-align: center;
              background-color: White;
              height: 100px; bottom: 296px;">
                <table style=" background-color: White; font-family: Sans-Serif; text-align: center; border: solid 1px #275721; color: #275721; width: inherit; height: inherit; padding: 15px;">
                <tr>
                <td style=" text-align: inherit;"><img src="../Imagenes/Gif/cargando.gif" alt="Loading"  /></td>
                <td style=" text-align: inherit;"><span style="font-family: Sans-Serif; font-size: medium; font-weight: bold; font">Cargando...</span></td>
                </tr>
                </table>
        </div>
    </ProgressTemplate>
    </asp:UpdateProgress>

</asp:Content>
